package com.en.effectiveJava.chapter2.NoInstance4;

/**
 * 私有化构造器强化不可实例
 * Create by EN
 * On 29/05/18 12:28 PM
*/
public class PrivateConstructor {

    private PrivateConstructor() {
        throw new AssertionError();
    }

    public static void say() {
        System.out.println("I'm PrivateConstructor, I'm saying!");
    }

}
